package com.yourenbang.lingyun.transaction.web.domain.dto.yxy;

import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author qinmingtao
 * desc 乐刷交易信息
 */
@Data
public class LsTradeDTO implements Serializable, ToJSON {
    //收款呗流水号
    private String flowId;
    //乐刷交易中心统一参考号
    private String channelRefNo;
    //商户编号
    private String customerNo;
    //代理商编号
    private String agentNo;
    //一级代理编号
    private String lvOneAgentNo;
    //终端SN
    private String posSn;
    //交易金额，单位元
    private BigDecimal amount;
    //交易卡号，脱敏
    private String cardNo;
    //卡类型 DEBIT-借记卡;CREDIT-贷记卡;SEMI-CREDIT 准贷记卡
    private String cardType;
    //交易时间，yyyy-MM-dd HH:mm:ss
    private String createTime;
    //支付类型 YHK-刷卡;NFC-云闪付;ZFB-支付宝
    private String payType;
    //交易周期 T0 T1
    private String transCycle;
    //结算周期 T0 T1
    private String settleCycle;
    //交易状态 SUCCESS-成功;INIT-初始; ERROR-失败;NONPAY-未支付
    private String transStatus;
    //结算状态 0-未结算;1-已结算;2-已充值
    private String settleStatus;
    //结算金额
    private BigDecimal settleAmt;
    //总手续费
    private BigDecimal totalFee;
    //基础手续费
    private BigDecimal handFee;
    //提现费
    private BigDecimal withdrawFee;
    //费率，% eg:0.53
    private BigDecimal rate;
    //夜间服务费标记 Y-是 N-否
    private String nightServiceFlag;
    //夜间服务费金额
    private BigDecimal nightServiceAmt;
    //商户管理费标记 Y-是 N-否
    private String custMgtFlag;
    //商户管理费金额
    private BigDecimal custMgtAmt;
    //VIP标记 Y-是 N-否
    private String vipFlag;
    //VIP金额
    private BigDecimal vipAmt;
    //设备服务费标记 Y-是 N-否
    private String depositFlag;
    //设备服务费金额
    private BigDecimal depositAmt;
    //优惠券标记 Y-是 N-否
    private String couponFlag;
    //优惠券金额
    private BigDecimal couponAmt;
    //SIM流量费标记 Y-是 N-否
    private String simFlag;
    //SIM流量费
    private BigDecimal simAmt;
    //NFC标记
    private String nfcFlag;
    //乐享服务费标识
    private String enjoyServiceFlag;
    //乐享服务费费率
    private BigDecimal enjoyServiceRate;
    //乐享服务费金额
    private BigDecimal enjoyServiceAmt;
    //智享服务费标识
    private String smartServiceFlag;
    //智享服务费费率
    private BigDecimal smartServiceRate;
    //智享服务费金额
    private BigDecimal smartServiceAmt;
}